-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove prev-minor testing as not needed anymore #30926
Conversation
In elastic#26629 the issue around running Filebeat against older version of Elasticsearch was discussed and in elastic#28274 testing against the previous minor was introduced. But since 8.0, Filebeat can only ship data to equal or newer versions of Elasticsearch. Because of this, in the tests `TESTING_FILEBEAT_ALLOW_OLDER=1` had to be introduced. I'm opening this PR to remove this testing as it is not something we support anymore.
This pull request does not have a backport label. Could you fix it @ruflin? 🙏
NOTE: |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
I understand this would not be backported to 7.x. |
No plans to backport at all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this check seems aligned to the language in the support matrix (though I would have preferred stronger language for a contract such that it was required rather than "highly recommended").
And then users also would need to set allow_older_versions: true
(https://www.elastic.co/guide/en/beats/filebeat/8.1/elasticsearch-output.html#_allow_older_versions) to be able to get into a situation where these's test would have caught the problem.
There's a bunch of code that that makes pipeline configs backwards compatible with earlier ES versions. That's now eligible for removal.
@nimarezainia I'm also surprised by the phrasing. Can you take a look at this? @andrewkroh I'll get the PR merged. It is great to hear that it will actually simplify some of our code. As all the checks are for 7.x it seems we can get rid of all? Will you follow up or should the data plane team take care of it? |
sure I can change that. I worded it that way mainly because there is a "public" config that allows the user to over write. So clearly we are not that strict :-) |
The config we have is experimental and we discourage it from using it. "Highly recommended" sounds to me like we would support the config option, but we don't. |
In elastic#26629 the issue around running Filebeat against older version of Elasticsearch was discussed and in elastic#28274 testing against the previous minor was introduced. But since 8.0, Filebeat can only ship data to equal or newer versions of Elasticsearch. Because of this, in the tests `TESTING_FILEBEAT_ALLOW_OLDER=1` had to be introduced. I'm opening this PR to remove this testing as it is not something we support anymore.
In #26629 the issue around running Filebeat against older version of Elasticsearch was discussed and in #28274 testing against the previous minor was introduced. But since 8.0, Filebeat can only ship data to equal or newer versions of Elasticsearch. Because of this, in the tests `TESTING_FILEBEAT_ALLOW_OLDER=1` had to be introduced. I'm opening this PR to remove this testing as it is not something we support anymore.
In #26629 the issue around running Filebeat against older version of Elasticsearch was discussed and in #28274 testing against the previous minor was introduced. But since 8.0, Filebeat can only ship data to equal or newer versions of Elasticsearch. Because of this, in the tests
TESTING_FILEBEAT_ALLOW_OLDER=1
had to be introduced.I'm opening this PR to remove this testing as it is not something we support anymore.